Get Models (OpenAI) (Generative Models)

Synopsis

Get all organization models from OpenAI

Description

Gets information about all models owned by the organization from OpenAI. One of the pieces of information you will get are the model IDs which can be used as parameters for operators such as Delete Finetuned Model or Send Prompt. If you select Azure as type, you will need to provide a connection to Azure Open AI instead. This dictionary connection needs to contain the 'api_key' as well as the 'api_base_url' of your Azure OpenAI environment. Azure OpenAI does not provide information about ownership or creation dates which will lead to empty values for those in the result table. Please refer to the Azure OpenAI documentation for additional information.

Input

  • connection (Connection)

    A Dictionary Connection providing the API key as a key value pair with a key named 'api_key'.

Output

  • data (Data table)

    A data set containing information about all your custom / finetuned models.

  • connection (Connection)

    The input connection.

Parameters

  • type Indicates if this operator should use an OpenAI model or a model hosted by Microsoft Azure.
  • conda environment The conda environment used for this downloading task. Additional packages may be installed into this environment, please refer to the extension documentation for additional details on this and on version requirements for Python and some packages which have be present in this environment.

Tutorial Processes

Get all finetuned models from OpenAI

If you have finetuned models on OpenAI you may end up with multiple models. This operator delivers some basic information about all models which have been finetuned by your organization. You can use their models in an Send Prompt operator or delete the model with a given ID with the Delete Finetuned Model operator.